﻿//************************************************************************************************
// Copyright © 2014 Steven M. Cohn. All Rights Reserved.
// 
//************************************************************************************************

namespace River.Folderize.UI
{
	using System;
	using System.Windows;


	internal delegate void PropertiesEditedRoutedEventHandler (
		object sender, PropertiesEditedRoutedEventArgs e);


	internal class PropertiesEditedRoutedEventArgs : RoutedEventArgs
	{
		public PropertiesEditedRoutedEventArgs ()
			: base()
		{
		}


		public PropertiesEditedRoutedEventArgs (Folder folder, Folder original)
			: this()
		{
			this.Folder = folder;
			this.Original = original;
		}


		public Folder Folder { get; set; }

	
		public Folder Original { get; set; }


		public bool IsNewFolder
		{
			get { return (Original == null); }
		}
	}
}
